package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.jsola.core.dto.BaseDTO;

import static org.jsola.hr.example.TransferAccountsPeopleExample.E_AVATAR;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_BANK_CARD_URL;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_BANK_IDENTITY;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_COMPANY_ID;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_ID_CARD;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_ID_CARD_URL;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_IS_BANK_BINDING;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_IS_OTH_AREA;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_IS_PING_AN_BANK;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_IS_VX_BINDING;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_IS_ZFB_BINDING;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_NAME;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_NICK_NAME;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_OPENING_BANK;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_PHONE;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_REMARK;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_VX_IDENTITY;
import static org.jsola.hr.example.TransferAccountsPeopleExample.E_ZFB_IDENTITY;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_AVATAR_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_BANK_CARD_URL_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_BANK_IDENTITY_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_COMPANY_ID_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_ID_CARD_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_ID_CARD_URL_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_NAME_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_NICK_NAME_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_OPENING_BANK_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_PHONE_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_REMARK_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_VX_IDENTITY_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.M_ZFB_IDENTITY_MAX;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_AVATAR;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_BANK_CARD_URL;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_BANK_IDENTITY;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_COMPANY_ID;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_ID_CARD;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_ID_CARD_URL;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_IS_BANK_BINDING;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_IS_OTH_AREA;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_IS_PING_AN_BANK;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_IS_VX_BINDING;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_IS_ZFB_BINDING;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_NAME;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_NICK_NAME;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_OPENING_BANK;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_PHONE;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_REMARK;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_VX_IDENTITY;
import static org.jsola.hr.example.TransferAccountsPeopleExample.N_ZFB_IDENTITY;

/**
 * 转账人员库
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "新增【转账人员库】的参数")
@Data
public class TransferAccountsPeopleAddDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    @Length(max = 32, message = M_COMPANY_ID_MAX)
    private String companyId;

    @ApiModelProperty(notes = N_PHONE, example = E_PHONE)
    @Length(max = 20, message = M_PHONE_MAX)
    private String phone;

    @ApiModelProperty(notes = N_AVATAR, example = E_AVATAR)
    @Length(max = 500, message = M_AVATAR_MAX)
    private String avatar;

    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    @Length(max = 20, message = M_NAME_MAX)
    private String name;

    @ApiModelProperty(notes = N_NICK_NAME, example = E_NICK_NAME)
    @Length(max = 100, message = M_NICK_NAME_MAX)
    private String nickName;

    @ApiModelProperty(notes = N_ID_CARD, example = E_ID_CARD)
    @Length(max = 20, message = M_ID_CARD_MAX)
    private String idCard;

    @ApiModelProperty(notes = N_OPENING_BANK, example = E_OPENING_BANK)
    @Length(max = 20, message = M_OPENING_BANK_MAX)
    private String openingBank;

    @ApiModelProperty(notes = N_ZFB_IDENTITY, example = E_ZFB_IDENTITY)
    @Length(max = 64, message = M_ZFB_IDENTITY_MAX)
    private String zfbIdentity;

    @ApiModelProperty(notes = N_IS_ZFB_BINDING, example = E_IS_ZFB_BINDING)
    private Boolean isZfbBinding;

    @ApiModelProperty(notes = N_VX_IDENTITY, example = E_VX_IDENTITY)
    @Length(max = 64, message = M_VX_IDENTITY_MAX)
    private String vxIdentity;

    @ApiModelProperty(notes = N_IS_VX_BINDING, example = E_IS_VX_BINDING)
    private Boolean isVxBinding;

    @ApiModelProperty(notes = N_BANK_IDENTITY, example = E_BANK_IDENTITY)
    @Length(max = 64, message = M_BANK_IDENTITY_MAX)
    private String bankIdentity;

    @ApiModelProperty(notes = N_IS_BANK_BINDING, example = E_IS_BANK_BINDING)
    private Boolean isBankBinding;

    @ApiModelProperty(notes = N_IS_PING_AN_BANK, example = E_IS_PING_AN_BANK)
    private Boolean isPingAnBank;

    @ApiModelProperty(notes = N_IS_OTH_AREA, example = E_IS_OTH_AREA)
    private Boolean isOthArea;

    @ApiModelProperty(notes = N_REMARK, example = E_REMARK)
    @Length(max = 255, message = M_REMARK_MAX)
    private String remark;

    @ApiModelProperty(notes = N_ID_CARD_URL, example = E_ID_CARD_URL)
    @Length(max = 500, message = M_ID_CARD_URL_MAX)
    private String idCardUrl;

    @ApiModelProperty(notes = N_BANK_CARD_URL, example = E_BANK_CARD_URL)
    @Length(max = 500, message = M_BANK_CARD_URL_MAX)
    private String bankCardUrl;


}

